package com.sddnytsh.body_buildingsystem.components

import androidx.compose.runtime.Composable
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavController
import com.sddnytsh.body_buildingsystem.BottomViewModel

@Composable
fun BottomBar(navController: NavController) {
    val viewModel: BottomViewModel = viewModel()
    BottomBarContent(viewModel.selectedTab, navController = navController) {
        viewModel.selectedTab = it
    }
}